using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using clf.weighing.entity;

namespace weighing
{

    /// <summary>
    /// 系统运行消息
    /// 数据条数:1538
    /// 数据大小:320KB
    /// </summary>


    public class SysMessageVo : BaseVo
    {
        #region Constract
        public SysMessage mSysMessage;
        public SysMessageVo(SysMessage sysMessage)
        {
            mSysMessage = sysMessage;
        }
        #endregion

        public Int64 Id
        {
            get { return mSysMessage.id; }
            set { mSysMessage.id = value; OnPropertyChanged(this, nameof(Id)); }
        }

        /// <summary>
        /// 注释:错误描述
        /// 可空:YES
        /// </summary>

        public String Description { get { return mSysMessage.description; } set { mSysMessage.description = value; OnPropertyChanged(this, nameof(Description)); } }

        /// <summary>
        /// 注释:消息级别 1 正常 2 异常 3错误
        /// 可空:YES
        ///默认值:1
        /// </summary>

        public Int32? Level { get { return mSysMessage.level; } set { mSysMessage.level = value; OnPropertyChanged(this, nameof(Level)); } }

        /// <summary>
        /// 注释:所属公司ID
        /// 可空:YES
        ///默认值:0
        /// </summary>

        public Int64? CompanyId { get { return mSysMessage.companyId; } set { mSysMessage.companyId = value; OnPropertyChanged(this, nameof(CompanyId)); } }

        /// <summary>
        /// 注释:客户ID
        /// 可空:YES
        ///默认值:0
        /// </summary>

        public Int64? ClientId { get { return mSysMessage.clientId; } set { mSysMessage.clientId = value; OnPropertyChanged(this, nameof(ClientId)); } }

        /// <summary>
        /// 注释:上传状态 0 未 1 已传
        /// 可空:YES
        ///默认值:0
        /// </summary>

        public Int32? UpStatus { get { return mSysMessage.upStatus; } set { mSysMessage.upStatus = value; OnPropertyChanged(this, nameof(UpStatus)); } }

        /// <summary>
        /// 注释:所属设备
        /// 可空:YES
        ///默认值:0
        /// </summary>

        public Int64? DeviceId { get { return mSysMessage.deviceId; } set { mSysMessage.deviceId = value; OnPropertyChanged(this, nameof(DeviceId)); } }

        /// <summary>
        /// 注释:设备名称
        /// 可空:YES
        /// </summary>

        public String DeviceName { get { return mSysMessage.deviceName; } set { mSysMessage.deviceName = value; OnPropertyChanged(this, nameof(DeviceName)); } }

        /// <summary>
        /// 注释:状态 0 不需要处理 1 未处理 2已处理
        /// 可空:YES
        ///默认值:0
        /// </summary>

        public Int32? Status { get { return mSysMessage.status; } set { mSysMessage.status = value; OnPropertyChanged(this, nameof(Status)); } }

        /// <summary>
        /// 注释:处理结果
        /// 可空:YES
        /// </summary>

        public String HandleResult { get { return mSysMessage.handleResult; } set { mSysMessage.handleResult = value; OnPropertyChanged(this, nameof(HandleResult)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public DateTime? Addtime { get { return mSysMessage.addTime; } set { mSysMessage.addTime = value; OnPropertyChanged(this, nameof(Addtime)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public Int64? AddUserId
        {
            get { return mSysMessage.addUserId; }
            set { mSysMessage.addUserId = value; OnPropertyChanged(this, nameof(AddUserId)); }
        }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public String AddUserName { get { return mSysMessage.addUserName; } set { mSysMessage.addUserName = value; OnPropertyChanged(this, nameof(AddUserName)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public DateTime UpdateTime
        {
            get { return mSysMessage.updateTime; }
            set { mSysMessage.updateTime = value; OnPropertyChanged(this, nameof(UpdateTime)); }
        }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public Int64? UpdateUserId
        {
            get { return mSysMessage.updateUserId; }
            set { mSysMessage.updateUserId = value; OnPropertyChanged(this, nameof(UpdateUserId)); }
        }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public DateTime? UpdateUserName
        {
            get { return mSysMessage.updateUserName; }
            set
            {
                mSysMessage.updateUserName = value;
                OnPropertyChanged(this, nameof(UpdateUserName));
            }
        }

        /// <summary>
        /// 注释:备注
        /// 可空:YES
        /// </summary>

        public String Remark
        {
            get { return mSysMessage.remark; }
            set
            {
                mSysMessage.remark = value;
                OnPropertyChanged(this, nameof(Remark));
            }
        }

        /// <summary>
        /// 可空:YES
        ///默认值:0
        /// </summary>

        public Int32? IsDelete
        {
            get { return mSysMessage.isDelete; }
            set
            {
                mSysMessage.isDelete = value;
                OnPropertyChanged(this, nameof(IsDelete));
            }
        }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public DateTime? DeleteTime
        {
            get { return mSysMessage.deleteTime; }
            set
            {
                mSysMessage.deleteTime = value;
                OnPropertyChanged(this, nameof(DeleteTime));
            }
        }

        /// <summary>
        /// 注释:同步时间
        /// 可空:YES
        ///默认值:0
        /// </summary>

        public Int64? SyncTime
        {
            get { return mSysMessage.syncTime; }
            set
            {
                mSysMessage.syncTime = value;
                OnPropertyChanged(this, nameof(SyncTime));
            }
        }

    }
}
